Skip to content

add conflict action, remove check temp due not using main branch#1859

Merged
acosferreira merged 1 commit intomainfrom
ana/upd-mergify-52843
Feb 11, 2026
Merged

add conflict action, remove check temp due not using main branch#1859
acosferreira merged 1 commit intomainfrom
ana/upd-mergify-52843

Conversation

@acosferreira
Copy link
Contributor

@acosferreira acosferreira commented Feb 11, 2026

Jira Issue: https://issues.redhat.com/browse/AAP-52843

Description

remove flag because of temp branch for test

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to break)
  • Security fix
  • Performance improvement
  • Code refactoring
  • Documentation update
  • CI/CD update

Backport Policy

This change should be:

  • Not backported - main/master only
  • Backported to specific releases (add labels after merge)

Automated Backport Instructions

After this PR is merged, add one or more labels to automatically create backport PRs:

  • backport/stable-2.4 - Backport to stable-2.4 branch
  • backport/stable-2.5 - Backport to stable-2.5 branch
  • backport/stable-2.6 - Backport to stable-2.6 branch
  • backport/all - Backport to all active stable branches
  • no-backport - Explicitly mark as not needing backport

Backport Justification

Special backport considerations:

Scenarios tested

Production deployment

  • This code change is ready for production on its own
  • This code change requires the following considerations before going to production:

Note

Low Risk
Changes are limited to GitHub automation config, but could slightly increase the chance of auto-approving Dependabot PRs without some CI signals until the checks are re-enabled.

Overview
Mergify auto-approval rules for Dependabot PRs are relaxed by temporarily removing required pre-commit/selftest success checks for Python security updates and for non-security Dependabot updates (checks are now commented out).

Adds a new Mergify rule that detects PRs in a conflict state, posts a comment tagging the author, and applies a conflict label.

Written by Cursor Bugbot for commit 5822545. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

🙏"
label:
add:
- conflict
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing rule to remove conflict label after resolution

Medium Severity

The new "warn on conflicts" rule adds a conflict label when a PR has merge conflicts, but there's no companion rule to remove the label once the conflict is resolved. Mergify only triggers actions when conditions match — once the conflict is gone, the - conflict condition is no longer true, so the rule simply stops matching without undoing its previous actions. The conflict label will persist on resolved PRs indefinitely, making it misleading.

Fix in Cursor Fix in Web

- check-success=pre-commit
- check-success=selftest # pip_compile check
# - check-success=pre-commit
# - check-success=selftest # pip_compile check
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI checks disabled for Dependabot auto-approval rules

Medium Severity

The check-success=pre-commit and check-success=selftest conditions are commented out in both the Python security updates and non-security Dependabot auto-approval rules. The PR title describes this as "temp," but it's being committed to the repo. This means Dependabot PRs for Python will be auto-approved without any CI checks passing, weakening the safety gate other ecosystems (Admin Portal, Chatbot, GitHub Actions) still enforce.

Additional Locations (1)

Fix in Cursor Fix in Web

@sonarqubecloud
Copy link

@acosferreira acosferreira merged commit 374e646 into main Feb 11, 2026
11 checks passed
@acosferreira acosferreira deleted the ana/upd-mergify-52843 branch February 11, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments